<!--三级菜单-->
{if condition="empty($child_menu_list)==false"}
<div class="collapse navbar-collapse pull-left " id="navbar-collapse" style="background-color: #ddd;
width: 100%; margin-bottom: 5px">
    <ul class="nav navbar-nav web_child_nav">
        {volist name="child_menu_list" id="c_menu"}
        <li class="{$c_menu['url']==$page_url ? 'active' : ''}"><a href="{:url($c_menu['url'])}">{$c_menu['title']} </a></li>
        {/volist}
    </ul>
</div>
{/if}
<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box-tools">
                <form>
                    <div class="input-group input-group-sm" style="width: 350px;">


                        <select class="form-control" style="width: 80px;margin-right: 10px" name="week">
                                {for start="1" end="$week_day+1"}
                                <option value="{$i}" {:monthWeek()==$i?'selected="selected"':''} >第{$i}周</option>
                                {/for}
                        </select>
                        <a href="{:url('/Index/Project/ProjectWeekly/export_pm')}" style="margin-right: 10px" class="btn label-primary">导出项目经理周报</a>
                        <a href="{:url('/Index/Project/ProjectWeekly/add')}" class="btn label-info">添加项目周报</a>
                    </div>
                </form>
            </div>

            <div class="box">

                <div class="box-header">
                    <h3 class="box-title">项目周边列表</h3>

                    <div class="box-tools">

                    </div>
                </div>
                <!-- /.box-header -->

                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <tbody>
                            <tr>
                                <th>标号</th>



                                <th>项目名称</th>

                                <th>项目周期</th>

                                <th>项目概况</th>
                                <th>用户</th>


                                <th>添加时间</th>



                                <th>操作</th>
                            </tr>
                            {volist name="data_list" id="vo" key="key"}
                            <tr>
                                <td>{$key}</td>

                                <td>{$vo.project["title"]}</td>
                                <td>{$vo.month}月- 第{$vo.weeks}周</td>

                                <td>{$vo.weekly_info}</td>
                                <td></td>
                                <td>{$vo.create_time}</td>


                                <td>
                                    <a href="javascript:;" data-url="{:url('/Index/Project/ProjectWeekly/del')}" param="{$vo.id}" class="btn label-danger data_del_items">删除</a>

                                    <a href="{:url('/Index/Project/ProjectWeekly/Index/edit',['id'=>$vo.id])}" class="btn label-info">编辑</a>

                                    <a href="{:url('/Index/Project/ProjectWeekly/Index/show',['id'=>$vo.id])}" class="btn label-primary">查看</a>
                                    <a href="{:url('/Index/Project/ProjectWeekly/export',['week_id'=>$vo.id])}" class="btn label-primary">导出周报</a>

                                </td>
                            </tr>
                            {/volist}
                        </tbody>
                    </table>

                    <div class="col-sm-7">
                        {$page}
                    </div>
                </div </div>
            </div>
        </div>
</section>